/* 认证页面样式 */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--light-text);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    color: var(--light-text);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 错误提示样式 */
.error-message {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* 成功提示样式 */
.success-message {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* 表单验证状态 */
.form-control.error {
    border-color: var(--accent-color);
}

.form-control.success {
    border-color: var(--secondary-color);
}

/* 社交媒体登录按钮 */
.social-login {
    margin-top: 20px;
}

.social-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn.google {
    background-color: #db4437;
    color: white;
}

.social-btn.google:hover {
    background-color: #c53727;
    transform: translateY(-2px);
}

.social-btn.facebook {
    background-color: #4267b2;
    color: white;
}

.social-btn.facebook:hover {
    background-color: #365899;
    transform: translateY(-2px);
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 分隔线 */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.divider span {
    padding: 0 15px;
    color: var(--light-text);
    font-size: 0.85rem;
}